package com.smartstate.ems.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "能源实体类")
@TableName(value = "half_hour_power_meter_summary")
public class Energy {

    @ApiModelProperty(value = "日期")
    @TableField(value = "dayStr")
    private String dateTime;

    @ApiModelProperty(value = "峰值")
    @TableField(value = "peekValue")
    private String peekValue;

    @ApiModelProperty(value = "谷值")
    @TableField(value = "valleyValue")
    private String valleyValue;

    @ApiModelProperty(value = "平值")
    @TableField(value = "flatValue")
    private String flatValue;

    @ApiModelProperty(value = "能源消耗")
    private String total;

    @ApiModelProperty(value = "名称")
    private String name;
}
